/*
 * Copyright (c) 2014 laidian. All Rights Reserved.
 * 
 * @author yaoyuming
 * 
 * @date 2019-12-04 19:40
 */
package com.yao.cloud.consumer.apiclient;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.lang.Console;
import com.yao.cloud.consumer.entity.ServerEntity;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author yaoyuming
 * @date 2019/12/04 19:40
 */
@Component
public class FeignFallback implements EurekaApi {

    @Override
    public String getServerInfo() {
        return null;
    }

    @Override
    public ServerEntity post1(String name) {
        return null;
    }

    @Override
    public ServerEntity post2(ServerEntity server) {
        return null;
    }

    @Override
    public ServerEntity get(String name, String token) {
        return null;
    }

    @Override
    public List<String> list(List<Integer> ids) {
        Console.error("EurakaApi.list 进入fallback.");
        return CollUtil.newArrayList();
    }
}